<div class="bg-light lter b-b wrapper-md">
    <h4 class="m-n font-thin">返利类别设置</h4>
</div>
<div class="wrapper-md ng-scope" ng-controller="rebateGoodsCtrl">
    <div class="panel panel-default">
        <div class="row wrapper">
            <div class="col-sm-12">
                <a class="btn btn-sm btn-info pull-right"  ui-sref="app.rebateGoodsAdd" target="_blank">添加返利类别</a>
            </div>
            <div class="clearfix"></div>
        </div>
        <div class="table-responsive">
            <table class="table table-striped b-t b-light">
                <thead>
                    <tr>
                        <th>返利类别</th>
                        <th>返利条件(元)</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="item in list">
                        <td>{{item.name}}</td>
                        <td>{{item.startPrice}}&nbsp;≤&nbsp;售价&nbsp;＜&nbsp;{{item.endPrice}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <footer class="panel-footer">
            <div class="row">
                <div class="col-sm-offset-4 col-sm-4 text-center">
                    <small class="text-muted inline m-t-sm m-b-sm">显示第 {{startRow}} 至 {{endRow}} 项结果，共 {{totalItems}} 项</small>
                </div>
                <div class="col-sm-4 text-right text-center-xs">
                    <pagination boundary-links="true" total-items="totalItems" ng-model="currentPage"
                                ng-change="pageChanged()" max-size="{{maxPageRow}}" class="pagination-sm m-t-none m-b"
                                previous-text="上一页" next-text="下一页"
                                first-text="首页" last-text="尾页"></pagination>
                </div>
            </div>
        </footer>
    </div>
</div>
